package com.muyu.system.domain.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Administrator
 */

@Getter
@AllArgsConstructor
public enum JpushMessageEnum {
    /**
     * 下单
     */
    PLACE_ORDER("您有一条新的订单，请尽快发货", "新订单", "/pagesB/seller/myorder?status=2&userClass=1"),

    PAINTING_PLACE_ORDER("您有一条新的订单，请尽快发货", "新订单", "/pagesB/paintingMarking/allShop?status=2&currentShopAndOrderIndex=1"),
    /**
     * 售后申请
     */
    AFTER_SALES_APPLICATION("您有一条售后订单，请尽快处理", "售后处理", "/pagesB/seller/myorder?status=5&userClass=1"),
    PAINTING_AFTER_SALES_APPLICATION("您有一条售后订单，请尽快处理", "售后处理", "/pagesB/paintingMarking/allShop?status=5&currentShopAndOrderIndex=1"),
    /**
     * 库存预警
     */
    INVENTORY_ALERTS("您有商品库存不足，请尽快查看", "库存提醒", "/pagesB/seller/totalWarn"),

    /**
     * 商家发货
     */
    DELIVERY("您的订单已发货", "商家已发货", "/pagesB/shop/order?status=3&userClass=2"),
    PAINTING_DELIVERY("您的订单已发货", "商家已发货", "/pagesA/my/order?status=3"),

    /**
     * 售后通过
     */
    AFTER_SALES_PASSED("您的售后申请已通过，点击查看", "售后通过", "/pagesB/shop/order?status=5&userClass=2"),
    PAINTING_AFTER_SALES_PASSED("您的售后申请已通过，点击查看", "售后通过", "/pagesA/my/order?status=5"),

    /**
     * 售后拒绝
     */
    AFTER_SALES_REJECTION("您的售后申请已驳回，点击查看", "售后失败", "/pagesB/shop/order?status=11&userClass=2"),
    PAINTING_AFTER_SALES_REJECTION("您的售后申请已驳回，点击查看", "售后失败", "/pagesA/my/order?status=11");

    private final String alert;
    private final String title;
    private final String url;
}
